home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 3303 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: gryphon.phoenix.net!usenet
  2. From: brucew@phoenix.net (Bruce Wedding)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: PI Algorithm...
  5. Date: Sat, 27 Jan 1996 19:10:26 GMT
  6. Organization: BranPaul Systems
  7. Message-ID: <4edr2h$gd3@gryphon.phoenix.net>
  8. References: <4ebmpu$pde@news.iconn.net>
  9. NNTP-Posting-Host: dial16.phoenix.net
  10. X-Newsreader: Moe's Newsreader    
  11.  
  12. kjpoglit@kjpoglit. (Karl Poglitsch) wrote:
  13.  
  14. >What I'm looking for is an algorithm that will calculate pi to n number of 
  15. >decimal points.  I need 256, but more is better.  I need to stick this in an 
  16. >array of chars, so I'm a little stuck right now.  I don't really care about the 
  17. >speed of the algorithm, just as long it always gives me the same result.
  18.  
  19. Check out Snippets.  It has an algorithm that will calculate 
  20. pi to whatever you want to wait for.  I've done 5000 before.
  21.  
  22.  
  23. Bruce D. Wedding                        Have Compiler, Will Travel!
  24.               Perspicacious Programming Performed Promptly
  25. Katy, Texas, USA, Planet Earth, Milkyway Galaxy, Known Universe
  26.  
  27.